package com.mlz.mlzmall.ui.activity.act.personal.NetworkRequest;

import java.util.List;

/**
 * @description 我的活动实体类
 * Created by 安帅 on 2016/5/27 17:34.
 * PackageName com.mlz.mlzmall.ui.activity.act.personal.NetworkRequest.
 * ProjectName mlzmall_android.
 */
public class GetMyPromotionResponse {


    /**
     * status : 0
     * errors : {}
     * msg : 成功
     * data : {"total":2,"pageNum":1,"size":2,"pages":1,"list":[{"state":5,"manufacturerId":29,"promotionId":10,"giftId":87,"name":"【美篮试试】NO.9\u2014\u2014洁面纸巾（5包）","image":"http://image4.mlzmall.com/catalog/ARIUL/-面.jpg","describe":"注册成为美篮子会员，即可参与美篮试试，双重礼包等您来领取！","status":1,"dateStart":1461513600000,"dateEnd":1467302399000,"dateAdded":1461739434000,"prizeDateEnd":1467302399000,"prizeDateStart":1461513600000,"type":1},{"state":3,"manufacturerId":29,"promotionId":10,"giftId":null,"name":"【美篮享享】NO.9\u2014\u2014面霜","image":"http://image4.mlzmall.com/catalog/ARIUL/mlxx/mlxx-jp-0.jpg","describe":"购买Ariul洗面奶并分享链接，3位好友成功购买任意Ariul产品，即可获赠百元护肤豪礼","status":1,"dateStart":1461513600000,"dateEnd":1467302399000,"dateAdded":1461656678000,"prizeDateEnd":1467302399000,"prizeDateStart":1461513600000,"type":2}]}
     */

    private int status;
    private ErrorsBean errors;
    private String msg;
    /**
     * total : 2
     * pageNum : 1
     * size : 2
     * pages : 1
     * list : [{"state":5,"manufacturerId":29,"promotionId":10,"giftId":87,"name":"【美篮试试】NO.9\u2014\u2014洁面纸巾（5包）","image":"http://image4.mlzmall.com/catalog/ARIUL/-面.jpg","describe":"注册成为美篮子会员，即可参与美篮试试，双重礼包等您来领取！","status":1,"dateStart":1461513600000,"dateEnd":1467302399000,"dateAdded":1461739434000,"prizeDateEnd":1467302399000,"prizeDateStart":1461513600000,"type":1},{"state":3,"manufacturerId":29,"promotionId":10,"giftId":null,"name":"【美篮享享】NO.9\u2014\u2014面霜","image":"http://image4.mlzmall.com/catalog/ARIUL/mlxx/mlxx-jp-0.jpg","describe":"购买Ariul洗面奶并分享链接，3位好友成功购买任意Ariul产品，即可获赠百元护肤豪礼","status":1,"dateStart":1461513600000,"dateEnd":1467302399000,"dateAdded":1461656678000,"prizeDateEnd":1467302399000,"prizeDateStart":1461513600000,"type":2}]
     */

    private DataBean data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public ErrorsBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorsBean errors) {
        this.errors = errors;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class ErrorsBean {
    }

    public static class DataBean {
        private int total;
        private int pageNum;
        private int size;
        private int pages;
        /**
         * state : 5
         * manufacturerId : 29
         * promotionId : 10
         * giftId : 87
         * name : 【美篮试试】NO.9——洁面纸巾（5包）
         * image : http://image4.mlzmall.com/catalog/ARIUL/-面.jpg
         * describe : 注册成为美篮子会员，即可参与美篮试试，双重礼包等您来领取！
         * status : 1
         * dateStart : 1461513600000
         * dateEnd : 1467302399000
         * dateAdded : 1461739434000
         * prizeDateEnd : 1467302399000
         * prizeDateStart : 1461513600000
         * type : 1
         */

        private List<ListBean> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            private int state;
            private int manufacturerId;
            private int promotionId;
            private int giftId;
            private String name;
            private String image;
            private String describe;
            private int status;
            private long dateStart;
            private long dateEnd;
            private long dateAdded;
            private long prizeDateEnd;
            private long prizeDateStart;
            private int type;

            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }

            public int getManufacturerId() {
                return manufacturerId;
            }

            public void setManufacturerId(int manufacturerId) {
                this.manufacturerId = manufacturerId;
            }

            public int getPromotionId() {
                return promotionId;
            }

            public void setPromotionId(int promotionId) {
                this.promotionId = promotionId;
            }

            public int getGiftId() {
                return giftId;
            }

            public void setGiftId(int giftId) {
                this.giftId = giftId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getDescribe() {
                return describe;
            }

            public void setDescribe(String describe) {
                this.describe = describe;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public long getDateStart() {
                return dateStart;
            }

            public void setDateStart(long dateStart) {
                this.dateStart = dateStart;
            }

            public long getDateEnd() {
                return dateEnd;
            }

            public void setDateEnd(long dateEnd) {
                this.dateEnd = dateEnd;
            }

            public long getDateAdded() {
                return dateAdded;
            }

            public void setDateAdded(long dateAdded) {
                this.dateAdded = dateAdded;
            }

            public long getPrizeDateEnd() {
                return prizeDateEnd;
            }

            public void setPrizeDateEnd(long prizeDateEnd) {
                this.prizeDateEnd = prizeDateEnd;
            }

            public long getPrizeDateStart() {
                return prizeDateStart;
            }

            public void setPrizeDateStart(long prizeDateStart) {
                this.prizeDateStart = prizeDateStart;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }
}
